﻿@model IEnumerable<MusicLibrary.Models.Genre>

@{
    ViewBag.Title = "Store";
}

<h3>Browse Genres</h3>
<p>Select from @Model.Count() genres:</p>

<ul>
    @foreach (var genre in Model)
    {
        @*<li>@genre.Name</li>*@
        @*<li><a href="/Store/Browse?Genre=@genre.Name">@genre.n</a></li>*@
        <li>@Html.ActionLink(genre.Name, "Browse", new {genre = genre.Name})</li>
    }
</ul>
